package com.zygh.lz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 装备类型对应表
 */
@ApiModel(value = "装备类型对应表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "equipage_type")
public class EquipageType implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 类型
     */
    @TableField(value = "type")
    @ApiModelProperty(value = "类型")
    private String type;

    /**
     * 类型名称
     */
    @TableField(value = "type_name")
    @ApiModelProperty(value = "类型名称")
    private String typeName;

    /**
     * 类型编号
     */
    @TableField(value = "type_code")
    @ApiModelProperty(value = "类型编号")
    private String typeCode;

    /**
     * 是否隐藏
     */
    @TableField(value = "hide")
    @ApiModelProperty(value = "是否隐藏,1隐藏")
    private String hide;

    private static final long serialVersionUID = 1L;

}